package com.cskaoyan.controller;

import com.cskaoyan.bean.common.BasePageInfo;
import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.service.AdminService;
import com.cskaoyan.service.UserService;
import com.cskaoyan.tmp.MarketAdmin;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author stone
 * @date 2022/08/13 09:28
 */
@RestController
@RequestMapping("admin/admin")
public class MarketAdminController {

    @Autowired
    AdminService adminService;
    @Autowired
    UserService userService;

    @RequestMapping("list")
    public BaseRespVo list(String username, BasePageInfo info) {
        // marketadmin是包含roleids数组的marketadmin
        //CommonData<MarketAdmin> data = adminService.query(username,info);
        return BaseRespVo.ok(null);
    }
}
